//获取-全部分类(包含推荐商品)ts类型

export interface ResponseData{
    code: number
    msg: string
}
//全部分类的result
export interface GetCategoryResponseData{
    result:CategoryResponseData[]
}
export interface CategoryChildrenResponseData{
    id:number
    name:string
    picture:string
    children:null
    goods:null
}
export interface CategoryGoodsResponseData{
    id:number
    name:string
    desc:string
    price:string
    picture:string
    discount:null
    orderNum:null
}
//全部分类的result中一个对象ts
export interface CategoryResponseData{
    id:number
    name:string
    picture:string
    children:CategoryChildrenResponseData[]
    goods:CategoryGoodsResponseData[]
}
//获取所以全部分类的ts类型
export interface GetAllCategoryResponseData extends  ResponseData{
    result:CategoryResponseData[]
}